import request from "../utils/request";

export function getCurrentUserInfo(data) {
  return request({
    method: "POST",
    url: "/user/userInfo",
    data
  })
}

export function updateUserInfo(data) {
  return request({
    method: "POST",
    url: "/userinfo",
    data
  })
}